.a::after {
    content: /*before*/ "useless \a" /*after*/
}
.b::after {
    content: "useless \'"
}